package com.edu.controller;

import com.edu.model.User;
import org.apache.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;


@Controller
public class LoginController {
    private Logger logger = Logger.getLogger(LoginController.class);

   /* @RequestMapping("/login")
    @ResponseBody
    public User Login(@RequestParam(value="name", required=false, defaultValue="World") {
        if(user !=null){
            System.out.println("user.getId():"+ user.getId());
        }
        return user;
    }*/
}
